]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overviewControls: Make sure dash is positioned at the bottom
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 19 Jan 2021 17:20:58 +0000 (18:20 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 20 Jan 2021 11:34:43 +0000 (11:34 +0000)
We don't want the dash to expand, but if it's given more space
than requested, we want it to be positioned at the bottom.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1577>

js/ui/overviewControls.js

index a4fee819ae2dc9b859c842c270bddfd50b0d5803..a31c3c405578a729a49a3a0e37c2b84d4adc92c3 100644 (file)
@@ -345,6 +345,7 @@ class DashFader extends FaderControl {
         super._init({
             x_expand: true,
             x_align: Clutter.ActorAlign.CENTER,
+            y_align: Clutter.ActorAlign.END,
         });
 
         this._dash = dash;